﻿using System.Globalization;
using System.Windows;
using Wulong.Phone.Dianping.i18n;

namespace Wulong.Phone.Dianping
{
    public partial class App
    {
        /// <summary>
        /// Constructor for the Application object.
        /// </summary>
        public App()
        {
            SetLocale();
            // Standard Silverlight initialization
            InitializeComponent();
            //if (System.Diagnostics.Debugger.IsAttached)
            //{
            //    Current.Host.Settings.EnableFrameRateCounter = true;
            //    MetroGridHelper.IsVisible = true;
            //}
        }

        private static void SetLocale()
        {
            AppResources.Culture = new CultureInfo("zh-CN");
        }
    }
}